<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>soundsec</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : 13/07/2005</div>
    <p>
      <b>soundsec</b> - generates n sampled seconds of time
  parameter</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>t=soundsec(n [,rate])</tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>n</b>
        </tt>: an integer, the number of seconds to generate.</li>
      <li>
        <tt>
          <b>rate</b>
        </tt>: an integer, the number of samples per second.</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>generates a vector coding time from 0 to <tt>
        <b>n</b>
      </tt>seconds at
    sampled rate <tt>
        <b>rate</b>
      </tt>.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>
// At first we create 0.5 seconds of sound parameters.
t=soundsec(0.5);
// Then we generate the sound.
s=sin(2*%pi*440*t);
analyze(s,200,600,22050);
   </pre>
    <h3>
      <font color="blue">See Also</font>
    </h3>
    <p>
      <a href="playsnd.htm">
        <tt>
          <b>playsnd</b>
        </tt>
      </a>,&nbsp;&nbsp;<a href="analyze.htm">
        <tt>
          <b>analyze</b>
        </tt>
      </a>,&nbsp;&nbsp;</p>
  </body>
</html>
